package com.process.dao.team;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.process.domain.team.ClassScore;
import com.process.domain.team.Topic;
import com.process.domain.team.TopicAo;
import com.process.domain.team.TopicVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description:
 * @ClassName: TopicVo
 * @Author: 殷凡卓
 * @Date: 2023/5/7 21:09
 */
@Mapper
public interface TopicVoDao extends BaseMapper<TopicVo> {
    Topic selectTopicVosByStuPhone(String stuPhone);

    List<TopicVo> selectInnerTopicVoDetail(long publishId);

    List<TopicVo> selectOuterTopicVoDetail(long publishId);

    //    未打分也能使用
    List<TopicAo> selectInnerTopicAosDetail(long practicalId);


    //    教师打分使用
    List<ClassScore> selectInnerTopicAoDetail(long practicalId);


    List<TopicAo> selectOuterTopicAoDetail(long practicaliId);
}
